<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			ul{
				width: 500px;
				margin: auto;
				list-style: none;
				padding: 0;
				border: 2px solid red;
				text-align: center;
			}
			li{
				cursor: pointer;
			}
			ul li+li{
				border-top: 2px solid red;
			}
		</style>
	</head>
	<body>
		<ul>
			<li>1</li>
			<li>2</li>
			<li>3</li>
			<li>4</li>
			<li>5</li>
			<li>6</li>
		</ul>
	</body>
</html>